package com.pinda.auth.view;

import com.pinda.auth.entity.PdAuthUser;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * TODO 授权视图类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AuthorizationView {
    /**
     * 所有用户
     */
    private List<PdAuthUser> users;
    /**
     * 拥有角色的用户id
     */
    private List<String> userId;
    /**
     * 批量授权用户id
     */
    private List<String> adds;
    /**
     * 批量删除回收用户id
     */
    private List<String> removes;
    /**
     * 授权回收角色id
     */
    private String roleId;
    /**
     * 授权人的id
     */
    private String createUserId;
    /**
     * 创建时间
     */
    private String createTime;
}
